package com.xnx3.wangmarket.admin.service;

import com.xnx3.wangmarket.admin.entity.QrCode;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/***
 * 生成二维码
 * ***/
public interface QrCodeService {

    /***
     * 查询二维码
     * **/
    List<QrCode> queryQrCode(int userid);

    /**
     * 添加，更正二维码
     * */
    void updateQrCode(QrCode qrCode,int userid, HttpServletRequest request);
}
